package com.kanshu.ksgb.fastread.doudou.common.business.commonbean;

import android.os.Parcel;
import android.os.Parcelable;

import java.util.ArrayList;
import java.util.List;

public class SignInData implements Parcelable {
    public List<SignInBeanNew> lists;
    public SignInfo other;

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeList(this.lists);
        dest.writeParcelable(this.other, flags);
    }

    public SignInData() {
    }

    protected SignInData(Parcel in) {
        this.lists = new ArrayList<SignInBeanNew>();
        in.readList(this.lists, SignInBeanNew.class.getClassLoader());
        this.other = in.readParcelable(SignInfo.class.getClassLoader());
    }

    public static final Parcelable.Creator<SignInData> CREATOR = new Parcelable.Creator<SignInData>() {
        @Override
        public SignInData createFromParcel(Parcel source) {
            return new SignInData(source);
        }

        @Override
        public SignInData[] newArray(int size) {
            return new SignInData[size];
        }
    };
}
